// pages/funcs/web.js
const App = getApp()

Page({
    data: {
        init: false,
        url: '',
    },
    onLoad(options) {
        console.log(options);
        let url = decodeURIComponent(options.url)
        if (options.login) {
            url = `${url}?login=${options.login}`
        }
        console.log(url);
        this.setData({
            init: true,
            url: url
        })
    },
    bindLoad(e) {
        console.log(e)
    },
    bindMessage(e) {
        console.log(e)
    },
    bindError(e) {
        console.log(e)
    },
})